<div class="changepasswd">
	<div style="text-align: center;"><?php echo validation_errors(); ?></div>
	<form class="userform" id="changePasswdForm" action="<?=site_url(array("c"=>"user", "m"=>"changepasswd"))?>" method="post" autocomplete="off">
		<h2><?=lang('change-passwd')?></h2>
		<label>Password Old(*): </label>
		<input name="password_old" type="password" class="required" value=""/>
		<label>Password New(*): </label>
		<input name="password_new" id="password_new" type="password" class="required" value=""/>
		<label>Confirm Password (*): </label>
		<input name="password_conf" type="password" class="required" value=""/>
		<div class="actions">
			<input type="submit" name="submit" value="<?=lang('submit')?>"/><br/>
		</div>
	</form>
</div>
<script language="JavaScript" type="text/javascript">
// Login form
$(document).ready(function() {
	jQuery("#changePasswdForm").validate({
		rules: {
	    	password_new: "required",
	    	password_conf: {equalTo: "#password_new"}
		}
	});
});
</script>